{foreach $courses as $course}
<div class="col-xs-6 col-md-3 col-lg-2">
    <a href="{:url('demo/jikexueyuan/lists','course='.$course_title.'&cid='.$course['id'])}" class="thumbnail">
        <img src="{$course['img']}" alt="{$course['title']}">
        <h4>{$course['title']}</h4>
    </a>
</div>
{/foreach}